import request from '@/utils/request'

// 查询人鱼助手列表
export function listRyzs(query) {
  return request({
    url: '/ryzs/ryzs/list',
    method: 'get',
    params: query
  })
}

// 查询人鱼助手详细
export function getRyzs(id) {
  return request({
    url: '/ryzs/ryzs/' + id,
    method: 'get'
  })
}

// 新增人鱼助手
export function addRyzs(data) {
  return request({
    url: '/ryzs/ryzs',
    method: 'post',
    data: data
  })
}

// 修改人鱼助手
export function updateRyzs(data) {
  return request({
    url: '/ryzs/ryzs',
    method: 'put',
    data: data
  })
}

// 删除人鱼助手
export function delRyzs(id) {
  return request({
    url: '/ryzs/ryzs/' + id,
    method: 'delete'
  })
}

// 新增人鱼助手
export function invitation(data) {
  return request({
    url: '/ryzs/ryzs/invitation',
    method: 'post',
    data: data
  })
}


// 新增人鱼助手
export function batchSignIn(data) {
  return request({
    url: '/ryzs/ryzs/batchSignIn',
    method: 'post',
    data: data
  })
}
